package com.ifast.wxmp.config;

public class Constants {
	// 服务器域名
	public final static String baseUrl = "http://wanmm.mynatapp.cc";
											// "http://houzw.free.idcfengye.com";
											// "http://www.cdholiday.com";
    // 公众号AppId
    //public final static String AppId = "wx484dd265f88946ec";
    // 公众号密钥
    //public final static String AppSecret = "a25f8de456f4e16c8b3ba1a5de8d490f";
    // 公众号Token
    //public final static String Token = "Token";
    // 普通的access_token
    public final static String access_token_url = "https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=APPID&secret=APPSECRET";
    // 网页授权access_token
    public final static String oauth2_access_token_url = "https://api.weixin.qq.com/sns/oauth2/access_token?appid=APPID&secret=SECRET&code=CODE&grant_type=authorization_code";
    // 创建微信目录
    public final static String create_menu_url = "https://api.weixin.qq.com/cgi-bin/menu/create?access_token=ACCESS_TOKEN";
    // 认证链接
    //public final static String base_url = "https://open.weixin.qq.com/connect/oauth2/authorize?appid="
	    //+ AppId
	    //+ "&redirect_uri=redirect_url&response_type=code&scope=snsapi_base&state=STATE&connect_redirect=1#wechat_redirect";

    public final static String template_url = "https://api.weixin.qq.com/cgi-bin/message/template/send?access_token=";

    /*-------------------------------------公共服务--------------------------------------------------*/
    // 文章管理
    public final static String article_url = baseUrl+"/wxmp/mpArticle/wx/";

    /*---------------------------------------用户中心--------------------------------------------*/
    // 绑定认证
    public static String bundle_url = baseUrl+"/user/auth";
    // 用户中心
    public static String center_url = baseUrl+"/user/login";

    /*---------------------------------------模板提醒----------------------------------------*/
    // 提醒模板
    public static final String EXPRIATION_REMIND = "STYLQ4L3ZNju8OmQFD4tssMJuTlesu3794eD-nmy1xQ";

}
